import StorageUtil from './index';

function set(key, value) {
  return StorageUtil.set(key, value, false);
}

function get(key) {
  return StorageUtil.get(key, false);
}

function remove(key) {
  return StorageUtil.remove(key, false);
}

function setAsync(key, value) {
  return StorageUtil.setAsync(key, value, false);
}

function getAsync(key) {
  return StorageUtil.getAsync(key, false);
}

function removeAsync(key) {
  return StorageUtil.removeAsync(key, false);
}

export { set, get, remove, setAsync, getAsync, removeAsync };
export default {
  set: set,
  get: get,
  remove: remove,
  setAsync: setAsync,
  getAsync: getAsync,
  removeAsync: removeAsync
};